﻿using Basic.FormRemoteModel;
using Basic.FormRemoteModel.Form.Model;
using WeDonekRpc.Client;
using WeDonekRpc.Model;

namespace Basic.FormService.Interface
{
    public interface ICustomFormService
    {
        long Add ( FormAdd data );

        void Delete ( long id );

        FormDto Get ( long id );

        Dictionary<long, string> GetName ( long[] ids );

        FormOutline GetOutline ( long id, PyFormPageType pageType );

        void LockForm ( LockFormArg param );

        PagingResult<FormDto> Query ( FormQuery query, IBasicPage paging );

        bool Set ( long id, FormSet set );

        void SetLayoutType ( long id, FormLayoutType layout );

        bool SetStatus ( long id, FormStatus status );
    }
}